package site.luojie.netty.rpc.common.base;

/**
 * @author jie.luo
 * @since 2020-07-07 23:54
 **/
public class NettyRpcResult {
    /**
     * 请求ID
     */
    private String requestId;

    /**
     * 响应数据
     */
    private Object result;

    @Override
    public String toString() {
        return "NettyRpcResult{" +
                "requestId='" + requestId + '\'' +
                ", requestParam=" + result +
                '}';
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
